﻿
using Autofac;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ZFY.Blog.Api.Common
{
    public static class StaticInfo
    {
        public static string ContentRootPath;
        public static string WebRootPath;
        public static IServiceProvider Instance { get; set; }
        public static ILifetimeScope Ioc;
        public static IHttpContextAccessor httpContext;
        public static void BuilderIocContainer(ILifetimeScope container)
        {
            Ioc = container;
        }
    }
}
